#ifndef TCPPUBLICCONTROLLER_H
#define TCPPUBLICCONTROLLER_H

#include <QObject>
#include <QTcpServer>
#include "contactlistmanager.h"

class TcpPublicController : QObject
{
    Q_OBJECT
private:
    QTcpServer *tcpserver;
public:
    TcpPublicController();
    int getListeningPort();
    ~TcpPublicController();
private slots:
    void new_connection();
};

#endif // TCPPUBLICCONTROLLER_H
